package com.source.module_kotlin_library.widget

import android.content.Context
import android.graphics.Paint
import android.support.v7.widget.AppCompatTextView
import android.util.AttributeSet

class CodeView constructor(context: Context?, attrs: AttributeSet?) : AppCompatTextView(context, attrs) {
    private var paint = Paint()
    private var ctx: Context?

    constructor(context: Context?) : this(context, null)

    init {
        this.ctx = context
        paint.style = Paint.Style.STROKE
        paint.isAntiAlias = true
    }
}